<html>
<head>
<title>test_coos_extend_event</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<script type="text/javascript" src="jsunit/app/jsUnitCore.js"></script>
<script type="text/javascript" src="../coos.js"></script>
<script type="text/javascript">

//此函数会在页面加载后首先执行，并且只执行一次，类似于JUnit4中的@BeforeClass注解
function setUpPage()
{
	//此行代码必须放置在setUpPage的最后，在完成资源加载后告诉JsUnit该函数已执行完毕
	setUpPageStatus = "complete"; 
}


function setUp() //类比于JUnit中的setUp
{

}

function tearDown() //类比于JUnit中的tearDown
{

}

//test
function testArray()
{
	var arr = ["l","j","hk","kc","df"];
	var arr2 = ["l","j"];
	//var result = arr.lastIndexOf("kc");
	var result = arr.include(arr2);

	assertEquals(true,result);
}
</script>
</head>
<body>
<div id="testEvent">testEvent</div>
</body>
</html>